package com.lostad.app.front.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import com.lostad.app.core.service.AppUserService;

@Controller
public class IndexController {
	@Autowired
	private AppUserService appUserService;

	@GetMapping("/")
	public String index(HttpServletRequest request) {
		return "index";
	}

	@GetMapping(value = "/logout")
	public String logout(HttpServletRequest request) {

		return "index";
	}

	@GetMapping("/forget")
	public String forget(HttpServletRequest request) {
		return "forget_pwd";
	}

}
